package com.rockcent.mall.lib.repository;

import com.rockcent.common.common.PageResult;
import com.rockcent.mall.lib.domain.Favorite;
import com.rockcent.mall.lib.domain.enumclass.FavoriteType;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by zhangjh on 2016/10/22.
 */
public interface FavoriteRepositoryCustom {
    PageResult<Favorite> findListFavorite(Long CustomerId,FavoriteType type,PageResult pageResult);

    List<Long> getAllFavoriteProductsOrderByDateDesc(Long customerId, Long mallId);
}
